Component org.nuxeo.ecm.platform.comment.workflow.operation.contrib
In bundle org.nuxeo.ecm.platform.comment.workflow
Resolution Order
330
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.comment.workflow.operation.contrib--operations
- org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.comment.workflow.operation.contrib">
<extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent"
point="operations">
<operation class="org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation" />
</extension>
<extension point="chains"
target="org.nuxeo.ecm.core.operation.OperationServiceComponent">
<chain id="acceptComment">
<operation id="Context.FetchDocument" />
<operation id="Comment.Moderate">
<param type="boolean" name="accept">true</param>
</operation>
</chain>
<chain id="rejectComment">
<operation id="Context.FetchDocument" />
<operation id="Comment.Moderate">
<param type="boolean" name="accept">false</param>
</operation>
</chain>
</extension>
</component>